*,
html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: #e7e7e7;
}
.hero-history {
  background-color: #242424 !important;
  height: 60vh;
  margin-top: 70px;
  position: relative;
  padding-top: 30px;
  z-index: 10;
}

.wrapper {
  width: 50%;
  /* background-color: pink; */

  display: flex;
  flex-direction: column;
}
.hero-history .wrapper p {
  font-size: 35px;
  font-weight: 700 !important;
  line-height: 45px;
  color: #fff;
  margin: 0;
}
.hero-history .wrapper p span {
  font-size: 35px;
  font-weight: 700;
  line-height: 40px;
  display: block;
  height: 100%;
  /* border: 1px solid orchid; */
  color: #1e90ff;
}
.words {
  overflow: hidden;
  height: 35px;
}
.hero-history .wrapper span {
  font-size: 35px;
  font-weight: 700;
  line-height: 40px;
  display: block;
  height: 100%;
  /* border: 1px solid orchid; */
  color: #1e90ff;
  animation: spin_words 6s infinite;
}
@keyframes spin_words {
  10% {
    transform: translateY(-112%);
  }
  25% {
    transform: translateY(-100%);
  }
  35% {
    transform: translateY(-212%);
  }
  50% {
    transform: translateY(-200%);
  }
  60% {
    transform: translateY(-312%);
  }
  75% {
    transform: translateY(-300%);
  }
  85% {
    transform: translateY(-412%);
  }
  100% {
    transform: translateY(-412%);
  }
}
.line {
  margin-top: 50px;
  border: 1px solid #242424;
}
/* history */
.judul_history h1 {
  font-size: 40px;
  font-weight: 700;
  text-align: left;
  padding: 30px 0;
  color: #242424;
}
.paragraf p {
  font-size: 18px;
  text-align: left;
  font-weight: 500;
  color: #242424;
  padding: 30px;
}
.paragraf span {
  font-weight: 700;
}

@media (max-width: 850px) {
  .wrapper {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .hero-history .wrapper p {
    font-size: 20px;
    line-height: 30px;
  }
  .hero-history .wrapper span {
    font-size: 20px;
  }
  .words {
    overflow: hidden;
    height: 35px;
  }

  .judul_history h1,
  .paragraf p {
    text-align: center;
  }
}
